package com.docking.heylo.web.dto;

import javax.validation.constraints.NotEmpty;

public class UserDto {


    @NotEmpty(message = "请输入手机号", groups = {RetrievePassword.class,SendRetrievePasswordVerCode.class})
    private String phone;

    @NotEmpty(message = "请输入密码", groups = {RetrievePassword.class})
    private String password;

    @NotEmpty(message = "请输入验证码", groups = {RetrievePassword.class})
    private String verCode;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVerCode() {
        return verCode;
    }

    public void setVerCode(String verCode) {
        this.verCode = verCode;
    }

    public interface RetrievePassword{}

    public interface SendRetrievePasswordVerCode{}
}
